import request from '@/utils/request'

// 查询边坡落石及碎落监测列表
export function listAICamera(query) {
  return request({
    url: '/video/AICamera/list',
    method: 'get',
    params: query
  })
}

// 查询边坡落石及碎落监测详细
export function getAICamera(id) {
  return request({
    url: '/video/AICamera/' + id,
    method: 'get'
  })
}

// 新增边坡落石及碎落监测
export function addAICamera(data) {
  return request({
    url: '/video/AICamera',
    method: 'post',
    data: data
  })
}

// 修改边坡落石及碎落监测
export function updateAICamera(data) {
  return request({
    url: '/video/AICamera',
    method: 'put',
    data: data
  })
}

// 删除边坡落石及碎落监测
export function delAICamera(id) {
  return request({
    url: '/video/AICamera/' + id,
    method: 'delete'
  })
}
